//
//  BaseViewController.h
//  BaseProject
//
//  Created by 喻飞 on 15/5/10.
//  Copyright (c) 2015年 yuf. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LQRequestApi.h"
#import "CWHUDTips.h"
#import "AppDelegate.h"
@interface BaseViewController : UIViewController<LQRequestApiDelegate>{
    LQRequestApi       *shareApi;
     BOOL _allowSwipeGesture; 
}
@property (nonatomic ,strong) LQRequestApi       *shareApi;
@property (nonatomic, strong) AppDelegate        *delegate;
@property (strong, nonatomic) UISwipeGestureRecognizer * rightSwipeGesture;
- (void)hideKeyBoard;
#pragma mark  调整自适应布局
- (void) adaptiveViewLayout:(UIView *)viewLayout;
#pragma mark  显示加载进度
#pragma mark - Actions
- (void)showWaitDialogForWait:(NSString *)str;

- (void)showWaitDialogForNetWork;

- (void)showWaitDialog:(NSString*)title state:(NSString*)state;

- (void)dismissWaitDialog;

-(void)showWaitDialogForNetWorkDismissBySelf;
#pragma mark - 会员浏览商品=======================================
- (void)userScanProduct:(NSString *)goodsId;
#pragma mark - ====强制横屏
- (void)forceOrientationLandscape;
//强制竖屏
- (void)forceOrientationPortrait;
//显示登录页
- (void)ShowLoginPage;
@end
